﻿@model MusicOnLine.Models.Album

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layoutback.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Album</legend>

    <div class="display-label">ArtistID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ArtistID)
    </div>

    <div class="display-label">AlbumName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AlbumName)
    </div>

    <div class="display-label">ArtistName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ArtistName)
    </div>

    <div class="display-label">PublishYear</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PublishYear)
    </div>

    <div class="display-label">PublishCompany</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PublishCompany)
    </div>

    <div class="display-label">SongsCount</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SongsCount)
    </div>

    <div class="display-label">SongsLength</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SongsLength)
    </div>

    <div class="display-label">ImgUrl</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImgUrl)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
<script type="text/javascript">
    $(document).ready(function () {
        $("#divMangeAlbum").addClass("currentMenu");
    })
</script>